public class Module {
    //属性
    private String name;
    private int num;

    //构造方法
    public Module(){
        System.out.println("Parameterless constructor");
    }

    public Module(String name,int num){
        this.name=name;
        this.num=num;
        System.out.println("Parametric construction method");
    }

}
